package org.osite.xml;

import org.w3c.dom.Element;

public interface EntityHandler<T> {

    public String getTagName();

    public T create(Element element, ParseContext context)
            throws XmlParseException;

    public void processMember(T entity, Element member,
            ParseContext context) throws XmlParseException;

    public Class<? extends T> getType();

}
